MediaCloud\Plugin\Tools\Imgix\ImgixTool D

Total Complexity 258
Dependencies 12
Dependents 1
Total lines 1,124
Lines of code 792
Logical lines of code 501
Comment lines 145
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
buildImage()
D
12
96 256
buildImgixParams()
D
33 33 88
buildSizedImage()
B
38 22 62
prepareAttachmentForJS()
A
48 16 30
testImgix()
A
41 11 51
processImageMeta()
A
45 11 39
mediaSendToEditor()
A
53 10 20
fileIsDisplayableImage()
A
53 9 23
generateAttachmentMetadata()
A
43 7 50
setup()
A
47 7 36
imageDownsize()
S
54 6 22
processWizardSettings()
S
57 4 15
__construct()
S
63 4 10
configureWizard()
S
50 2 28
getAttachmentURL()
S
62 3 11
fixCleanedUrls()
S
67 3 8
urlForKey()
S
63 3 9
urlForStorageMedia()
S
63 3 9
enabled()
S
69 2 7
buildSrcSetURL()
S
78 1 3
buildGifJpeg()
S
77 1 3
buildMpeg4()
S
77 1 3
wizardLink()
S
80 1 3
hasWizard()
S
82 1 3
hasSettings()
S
82 1 3